Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed faculty and course labels and made the course name to also show the course number #1214

Merged
merged 18 commits into from
Jul 8, 2024

Conversation

MImran2002
Copy link
Contributor

@MImran2002 MImran2002 commented Jun 14, 2024

The changes we made is that we created a file in models that would produce an attribute for course name and number. We also created a test for the function and tested it when both course name and number exist, when none exit and when either one of them exist. We also went to html page for slcmanagement.html and added some jinja codes. We also have to add import statements across the pages.

Fixes #1206 and #1164

@vungc vungc changed the title Vungc courses Instructors are labeled as Faculty for the main course proposals page Jun 18, 2024
@vungc vungc changed the title Instructors are labeled as Faculty for the main course proposals page Changed faculty and course labels and made the course name to also show the course number Jun 18, 2024
app/logic/serviceLearningCourses.py Outdated Show resolved Hide resolved
app/models/courseNameAndNumber.py Outdated Show resolved Hide resolved
tests/code/test_serviceLearningCourses.py Show resolved Hide resolved
@vungc
Copy link
Contributor

vungc commented Jun 19, 2024

Modifications:

  1. Added “name” and “abbr” back into the dictionary in logic/serviceLearningCourses.py and changed the combination of name and abbreviation as “displayName”

  2. “namenumcombo” function changed to “displayName” and moved to logic

  3. changed slcMangement.html to use displayName from the courseDict

  4. added tests to test the displayName from the logic files displayName and serviceLearningCourses

@vungc vungc requested a review from BrianRamsay June 19, 2024 15:20
app/logic/displayName.py Outdated Show resolved Hide resolved
app/logic/displayName.py Outdated Show resolved Hide resolved
BrianRamsay and others added 2 commits June 25, 2024 16:47
…ed all the areas where the fucntion is used. We also changed the displayName to 'courseDisplayName'
@vungc vungc requested a review from BrianRamsay June 26, 2024 20:51
@BrianRamsay
Copy link
Contributor

@MImran2002 , is this an old PR? There are unresolved comments, still.

@MImran2002 MImran2002 self-assigned this Jul 3, 2024
@WackyWeaver
Copy link
Contributor

I would approve this. I ran the unit tests and checked for where there was change. It was looking great as far as I could see 👍

BrianRamsay
BrianRamsay previously approved these changes Jul 8, 2024
Copy link
Contributor

@BrianRamsay BrianRamsay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BAM

Copy link

github-actions bot commented Jul 8, 2024

View Code Coverage

@BrianRamsay BrianRamsay merged commit 68787b3 into development Jul 8, 2024
5 checks passed
@BrianRamsay BrianRamsay deleted the vungc-courses branch July 8, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Course Abbreviations for courses on SLC Proposals
4 participants